	package Units;
	import info.gridworld.actor.ActorWorld;
	import info.gridworld.grid.Location;

import java.awt.Color;

import Commander.CaptainMiller;
import Commander.HeadQuarters;
import Commander.MajorMajor;

public class UnitRunner {

	    public static void main(String[] args)
	    {
	    	
	    	Headquarters MillerHQ = new Headquarters(new CaptainMiller());
	    	Headquarters MajorHQ = new Headquarters(new MajorMajor());

	        ActorWorld world = new ActorWorld();
	        BATTLEBOT alice = new BATTLEBOT();
	        world.add(new Location(9, 9), alice);
	        ((Unit)(alice)).setHQ(MillerHQ);
	        
	        RECON joe = new RECON();
	        world.add(new Location(9, 7), joe);
	        joe.setColor(Color.GREEN);

	        BATTLEBOT_AIMBOT arthur = new BATTLEBOT_AIMBOT();
	        world.add(new Location(8, 7), arthur);
	        arthur.setColor(Color.CYAN);
	        
	        ARTILLERY frank = new ARTILLERY();
	        world.add(new Location(9, 6), frank);
	        frank.setColor(Color.ORANGE);
	        
	        TANK_HEAVY bob = new TANK_HEAVY();
	        alice.setColor(Color.RED);
	        world.add(new Location(9, 8), bob);

	        world.show();
	    }
}
